Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github/workflows/yocto-build-deploy.yml: Add hostapp metadata to OS r… #449

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

floion
Copy link
Contributor

@floion floion commented Nov 16, 2024

…elease

This is needed for supervisor managed OS updates. For example, the supervisor can check this metadata against the equivalent field from /etc/os-release to determine if the device is already running the latest OS release.

Change-type: patch

@floion floion requested review from pipex and a team November 16, 2024 08:27
@floion floion enabled auto-merge November 16, 2024 08:27
io.balena.image.class: 'hostapp'
io.balena.update.requires-reboot: '1'
io.balena.private.hostapp.board-rev: '${DEVICE_REPO_REV}'
EOF
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This indentation needs to be aligned with the level of the other commands above like cat > ... in order to be parsed as valid yaml. When it is executed it will still behave as expected and not have any leading whitespace in the compose file.

…elease

This is needed for supervisor managed OS updates. For example, the supervisor
can check this metadata against the equivalent field from /etc/os-release to
determine if the device is already running the latest OS release.

Change-type: patch
Signed-off-by: Florin Sarbu <[email protected]>
@floion floion force-pushed the add_hostapp_version_metadata_to_OS_release branch from add5689 to 0c8631c Compare November 17, 2024 17:01
@floion floion temporarily deployed to balena-staging.com November 17, 2024 17:01 — with GitHub Actions Inactive
@floion floion requested a review from klutchell November 17, 2024 17:02
@floion floion temporarily deployed to balena-cloud.com November 17, 2024 17:41 — with GitHub Actions Inactive
@floion floion temporarily deployed to balena-cloud.com November 17, 2024 17:41 — with GitHub Actions Inactive
@floion floion temporarily deployed to balena-cloud.com November 17, 2024 17:41 — with GitHub Actions Inactive
@floion floion merged commit dc83622 into master Nov 17, 2024
58 checks passed
@floion floion deleted the add_hostapp_version_metadata_to_OS_release branch November 17, 2024 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants